export function toCamel(str: string) {
  return str.replace(/([^_]*)(?:_+([^_]))([^_]*)/g, ($0, $1, $2, $3) => {
    // return $1 ? $1.toLowerCase() + '/' + $2.toLowerCase() + $3.toLowerCase() : $2.toUpperCase() + $3.toLowerCase();
    return $1.toLowerCase() + $2.toUpperCase() + $3.toLowerCase();
  });
}
